package org.jeecg.modules.website.service;

import org.jeecg.modules.website.entity.WebWorkDynamic;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.website.entity.WebWorkFile;


import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 工作动态表
 * @Author: jeecg-boot
 * @Date:   2024-07-04
 * @Version: V1.0
 */
public interface IWebWorkDynamicService extends IService<WebWorkDynamic> {

    /**
     * 添加一对多
     *
     * @param webWorkDynamic
     * @param webWorkFileList
     */
    public void saveMain(WebWorkDynamic webWorkDynamic, List<WebWorkFile> webWorkFileList) ;

    /**
     * 修改一对多
     *
     * @param webWorkDynamic
     * @param webWorkFileList
     */
    public void updateMain(WebWorkDynamic webWorkDynamic,List<WebWorkFile> webWorkFileList);

    /**
     * 删除一对多
     *
     * @param id
     */
    public void delMain (String id);

    /**
     * 批量删除一对多
     *
     * @param idList
     */
    public void delBatchMain (Collection<? extends Serializable> idList);
}
